class Person:
    def __init__(self, name, gender, age, phone_balance,
                 phone_brand, phone_battery, phone_screen,
                 phone_max_standby, points):
        self.name = name
        self.gender = gender
        self.age = age
        self.phone_balance = phone_balance
        self.phone_brand = phone_brand
        self.phone_battery = phone_battery
        self.phone_screen = phone_screen
        self.phone_max_standby = phone_max_standby
        self.points = points

    def send_message(self, message_content):
        # 此处为发短信功能的代码
        # ...
        pass

    def make_call(self, phone_number, duration):
        # 首先判断号码是否为空
        if not phone_number:
            print("错误信息：电话号码为空，无法拨号！")
            return None
        # 然后判断本人的话费是否小于1元
        if self.phone_balance < 1.0:
            print("错误信息：话费不足，请先充值！")
            return None

        # 接下来，模拟拨打电话的过程，并计算扣费和积分
        call_cost = 0.0
        call_points = 0
        if duration <= 10:
            call_cost = duration * 1.0
            call_points = duration * 15
        elif duration <= 20:
            call_cost = duration * 0.8
            call_points = duration * 39
        else:
            call_cost = duration * 0.65
            call_points = duration * 48

        # 扣除话费和积分
        self.phone_balance -= call_cost
        self.points += call_points

        # 返回扣费和积分信息
        return call_cost, call_points

person = Person("aaa","男",18,1000,"小米","500A",10086,1000,200)
a = person.make_call(18801106806,300)
print(f"(扣费和积分)为{a}")